﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ModalPanel.ascx.cs"
    Inherits="Vista.Controls.ModalPanel" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

<asp:Panel ID="pnlModalMostraMissatge" runat="server" CssClass="finestraModal" >
    <div class="divHeaderModal">
        <asp:Label ID="lblHeader" runat="server" CssClass="classTitul" style="margin-left:10px;"/>
    </div>

    <div class="divBodyModal">
        <asp:TextBox ID="textBody" runat="server" Visible="false" />
        <asp:Label ID="lblBody" runat="server" Visible="false" />
    </div>

    <div class="divFooterModal">
        <asp:Button ID="btnCancelar" Text="Cancelar" runat="server" CausesValidation="false" Visible="false"  />
        <asp:Button ID="btnAcceptar" Text="Acceptar" runat="server" CausesValidation="false" OnClick="btnAcceptar_Click" Visible="false" />
    </div>
</asp:Panel>

<input id="ihModalMosrtaMissatge" type="hidden" runat="server" />

<ajax:ModalPopupExtender ID="mdeModalMostraMissatge" runat="server" RepositionMode="RepositionOnWindowScroll"
    TargetControlID="ihModalMosrtaMissatge" PopupControlID="pnlModalMostraMissatge" >
</ajax:ModalPopupExtender>
